package top.shiyiri.shops.service;

import top.shiyiri.shops.bean.TotalCount;
import top.shiyiri.shops.dao.TotalCountDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Aunean
 * @date 2021/12/21
 */

@Service
public class TotalCountService {

    @Autowired
    private TotalCountDao dao;
    public List<TotalCount> findTotalCount() {
        return dao.findTotalCount();
    }

    public int findPV() {
        return dao.findPV();
    }
}
